﻿using Library.Core.Domain.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Synthesize.BaseSet.ServiceInterface.Dtos.Authority.User
{
    /// <summary>
    /// 添加用户信息
    /// </summary>
    public class RegisterUserInput 
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "用户名不能为空")]
        public string UserName { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string Telphone { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 用户真实名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 确认密码
        /// </summary>
        public string Password2 { get; set; }

        /// <summary>
        /// 用户头像地址
        /// </summary>
        public string PictureUrl { get; set; }

        /// <summary>
        /// 角色Ids
        /// </summary>
        public List<Guid> RoleIds { get; set; }

        /// <summary>
        /// 岗位Ids
        /// </summary>
        public List<Guid> PostIds { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public Guid DepartmentId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? UserDescribe { get; set; }

    }
}
